package com.ruoyi.dr.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 达人首页带货视频过往数据（缓存数据，没有销售信息） /square_pc_api/homePage/overview/history_content对象 dr_home_video_history
 * 
 * @author ruoyi
 * @date 2025-07-12
 */
public class DrHomeVideoHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String uid;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 图片视频预览 */
    @Excel(name = "图片视频预览")
    private String previewPic;

    /** 观看人数 */
    @Excel(name = "观看人数")
    private Long viewer;

    /** 点赞人数 */
    @Excel(name = "点赞人数")
    private Long likeSum;

    /** 视频评论数 */
    @Excel(name = "视频评论数")
    private Long commentSum;

    /** 转发数 */
    @Excel(name = "转发数")
    private Long reshareSum;

    /** 发视频时间 */
    @Excel(name = "发视频时间")
    private String dateCreate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setPreviewPic(String previewPic) 
    {
        this.previewPic = previewPic;
    }

    public String getPreviewPic() 
    {
        return previewPic;
    }

    public void setViewer(Long viewer) 
    {
        this.viewer = viewer;
    }

    public Long getViewer() 
    {
        return viewer;
    }

    public void setLikeSum(Long likeSum) 
    {
        this.likeSum = likeSum;
    }

    public Long getLikeSum() 
    {
        return likeSum;
    }

    public void setCommentSum(Long commentSum) 
    {
        this.commentSum = commentSum;
    }

    public Long getCommentSum() 
    {
        return commentSum;
    }

    public void setReshareSum(Long reshareSum) 
    {
        this.reshareSum = reshareSum;
    }

    public Long getReshareSum() 
    {
        return reshareSum;
    }

    public void setDateCreate(String dateCreate) 
    {
        this.dateCreate = dateCreate;
    }

    public String getDateCreate() 
    {
        return dateCreate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("title", getTitle())
            .append("previewPic", getPreviewPic())
            .append("viewer", getViewer())
            .append("likeSum", getLikeSum())
            .append("commentSum", getCommentSum())
            .append("reshareSum", getReshareSum())
            .append("dateCreate", getDateCreate())
            .toString();
    }
}
